﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace com.byt.webcore
{
    public abstract class Base : IHttpHandler
    {
        public bool IsReusable
        {
            get { return false; }
        }

        public void ProcessRequest(HttpContext context)
        {
            doCommand(context.Request, context.Response);
        }

        protected abstract void doCommand(HttpRequest request, HttpResponse response);

    }

}
